AM_CFLAGS = --pedantic -Wall -Werror -std=c99 -O2 -DNDEBUG

pkginclude_HEADERS = options.h list.h report.h rkvector.h poisson.h uniform.h\
	 gaussian.h random.h tabular.h bernoulli.h

lib_LIBRARIES = libblogc.a

libblogc_a_SOURCES = options.h options.c list.h list.c report.h report.c \
	rkvector.h rkvector.c random.h poisson.h poisson.c \
	uniform.h uniform.c gaussian.h gaussian.c tabular.h tabular.c \
	bernoulli.c

check_PROGRAMS = testlist testrkvector testreport testpoisson testuniform \
	testgaussian testtabular testbernoulli

testlist_SOURCES = testlist.c list.c list.h

testrkvector_SOURCES = testrkvector.c rkvector.c rkvector.h

testreport_SOURCES = testreport.c report.c report.h

testpoisson_SOURCES = testpoisson.c poisson.h poisson.c report.h report.c \
	 random.h

testuniform_SOURCES = testuniform.c uniform.h uniform.c random.h report.h \
	report.c

testgaussian_SOURCES = testgaussian.c gaussian.h gaussian.c random.h report.h \
	report.c

testtabular_SOURCES = testtabular.c tabular.h tabular.c random.h report.h \
	report.c rkvector.h rkvector.c

testbernoulli_SOURCES = testbernoulli.c bernoulli.h bernoulli.c report.h \
	report.c

TESTS = testlist testrkvector testreport testpoisson testuniform testgaussian \
	testtabular testbernoulli

TESTS_ENVIRONMENT =  > /dev/null

